package com.org.core.exception;

/**
 * 自定义异常错误
 */
public class LogicException extends RuntimeException {

    public LogicException(String message) {
        super(message);
    }

    public LogicException(String message, Exception e) {
        super(message, e);
    }

    public static LogicException of(String message) {
        return new LogicException(message);
    }

    public static LogicException of(String message, Exception e) {
        return new LogicException(message, e);
    }
}
